﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="_News"
    MasterPageFile="~/Beamonkey.master" %>
    
<asp:Content ID="HeadContent" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content='<%=sKeywords %>' />
    <meta name="description" content='<%=sDescription %>' />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="content">
        <div class="lcol1">
            <div class="title1">
                <h1>
                    <%=FUNC.GetPhrase(6) %></h1>
            </div>
            <div class="maintext2">
                <br />
                <asp:DataList ID="dlEvents" runat="server"  OnItemDataBound="dlNews_DataBind">
                    <ItemTemplate>
                        <div class="dayitem" style="width: 578px; border-bottom: solid 1px #655941">
                            <a style="text-decoration:none;" href='NewsArticle.aspx?ID=<%#Eval("ID") %>'>
                                <h1 >
                                    <%# Eval("Title") %></h1>
                            </a>
                            <table style="height:140px;" runat="server" id="tblContent">
                                <tr>
                                    <td rowspan="2" >
                                        <img class="NewsImg" src='<%# String.Format("{0}/Gallery/{1}",FUNC.FullAppPath , Eval("thumbImage")) %>'
                                            alt='<%#Eval("Title") %>' />
                                    </td>
                                    <td class="NewsItemSubTitle" >
                                        <p>
                                            <%#Eval("SubTitle") %></p>
                                    </td>
                                </tr>
                                <tr>
                                <td class="NewsMoreBtn">
                                    <a href='NewsArticle.aspx?id=<%# Eval("ID") %>'>
                                        <% =FUNC.GetPhrase(16) %></a>
                                </td>
                                </tr>
                            </table>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
                <asp:Label ID="lblEmpty" CssClass="dayitem3" runat="server"></asp:Label>
                <div class="vpage" id="divPager" runat="server">
                </div>
            </div>
        </div>
        <div class="rcol">
            <div class="rmenu1" style="margin-top: 90px;">
                <object width="288" height="312">
                    <embed src="gallery/banners/NewsBanner.swf?t=<%= DateTime.Now.Millisecond %>" width="288" height="312"></embed>
                </object>
            </div>
            <%--<div class="rmenu1" style="margin-top: 90px;">
                <uc:Calendar runat="server" ID="Calendar1" />
                <div class="rmenu2">
                    style="color: #FFFFFF; background-image: url(images/bullet3.png)"
                    <a runat="server" id="lnkLastNews" href="desk.aspx">
                        <%=FUNC.GetPhrase(17) %></a> <a runat="server" id="lnkEvents" href="Events.aspx">
                            <%=FUNC.GetPhrase(19) %></a> <a runat="server" id="lnkCompetitions" href="Events.aspx?type=1">
                                <%=FUNC.GetPhrase(18) %></a>
                </div>
            </div>
            <uc:SendToFriend runat="server" id="sendto" />--%>
        </div>
    </div>
    <%--<div class="footer">
        <div class="morepicblockf">
            <a href="#">
                <img src="images/p2.jpg" border="0" /></a><a href="#"><img src="images/p2.jpg" border="0" /></a><a
                    href="#"><img src="images/p2.jpg" border="0" /></a><a href="#"><img src="images/p2.jpg"
                        border="0" /></a>
            <div class="mainbf">
                <a href="about.html">Новые фото </a>
            </div>
        </div>
    </div>--%>
</asp:Content>
